package erfgame.core.entity;

public class EntityChangeEvent<AttributeType> extends EntityEvent {
	private AttributeType fromAttribute;
	private AttributeType toAttribute;
	
	public EntityChangeEvent( EntityEventType eventType, AttributeType fromAttribute, AttributeType toAttribute ) {
		super( eventType );
		this.fromAttribute = fromAttribute;
		this.toAttribute = toAttribute;
	}
	
	public AttributeType getFromAttribute() {
		return this.fromAttribute;
	}
	
	public AttributeType getToAttribute() {
		return this.toAttribute;
	}
}
